<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/7/18
 * Time: 14:08
 */

namespace app\admin\controller;


class Captcha
{
    public function verify(){
        $captcha=new \think\captcha\Captcha([
            "fontSize"      =>30,
            "useCurve"      =>false,
            "length"        =>4
        ]);
        return $captcha->entry();
    }
}